#ifndef __Tank_H__ 
#define __Tank_H__ 

#include "cocos2d.h" 
USING_NS_CC; 


class Tank : public Node{ 
public:
	Tank();
	~Tank();

	static Tank* createWithNum(int num);
	bool initWithNum(int num);
	void setHeadRotation(float degree);
	float getHeadRotation();
	void keepHead(float dt);
	void onEnter();
	
private:
	Sprite* m_head;
	Sprite* m_body;


	float m_headRotation;

}; 


#endif // __Tank_H__ 
